package com.hqq.other.callback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * App
 * Created by heqianqian on 2017/9/4.
 */
public class App {

    private static final Logger LOGGER = LoggerFactory.getLogger(App.class);

    public static void main(String[] args) {
        Task task = new SimpleTask();
        Callback callback = new Callback() {
            @Override
            public void call() {
                LOGGER.info("execute finished!");
            }
        };
        task.executeTask(callback);
    }
}
